//
// Created by Thinkpad on 2025/11/11.
//

#include <iostream>
#include "dog.h"

using namespace std;


int main() {
    const dog dog1("Fluffy","Shepherd",2);

    // dog1.print_info(); // Error
    //
    // dog1.set_name("Milou"); // Error
    //
    // dog1.print_info();

    // pointer to non const
    //Dog * dog_ptr = &dog1;

    // non const reference
    //Dog& dog_ref = dog1;

    // pointer to const
    const dog* const_dog_ptr = &dog1;
    //const_dog_ptr->get_name();

    // const reference
    const dog& const_dog_ref = dog1;
    //const_dog_ref.set_name("jdd"); // Expected
    //const_dog_ref.get_name();



    return 0;
}
